<?php
/**
 * Created by PhpStorm.
 * User: Steven
 * Date: 2017/6/8
 */

namespace app\educational\validate;


use think\Validate;

class MessageValidate extends Validate
{
    protected $rule = [
        'type' => 'require',
        'content' => 'require',
    ];

    protected $message = [
        'type.require' => '类型不能为空',
        'content.require' => '内容不能为空',
    ];
}